<template>
    <view class="item global-shadow-2 data-v-6e1b33b0">
        <image class="left thumb data-v-6e1b33b0" :src="sku.thumb"></image>
        <view class="body data-v-6e1b33b0">
            <view class="name data-v-6e1b33b0">{{ sku.title }}</view>
            <view class="time data-v-6e1b33b0">{{ '' + user.name + ' 购买于 ' + $root.g0 + '' }}</view>
        </view>
        <view class="right data-v-6e1b33b0">
            <text class="plus data-v-6e1b33b0">+</text>
            <temaplte @__l="__l" class="data-v-6e1b33b0" vueId="7ef77cf3-1" :vueSlots="['default']" v-if="info.score">
                <text class="number data-v-6e1b33b0">{{ info.score }}</text>
                <text class="type data-v-6e1b33b0">{{ scoreAlias }}</text>
            </temaplte>
            <block v-else>
                <temaplte @__l="__l" class="data-v-6e1b33b0" vueId="7ef77cf3-2" :vueSlots="['default']" v-if="info.money">
                    <text class="number data-v-6e1b33b0">￥</text>
                    {{ $root.g1 + '' }}
                </temaplte>
            </block>
        </view>
        <view :class="['status', 'data-v-6e1b33b0', 'status-' + info.union_status]">{{ info.union_status_text }}</view>
    </view>
</template>

<script>
import tabBar from '@/components/TabBar/tabBar';
(global.webpackJsonp = global.webpackJsonp || []).push([
    ['pages/myInvitees/components/AgentRecordItem'],
    {
        '512f': function (e, t, n) {
            'use strict';

            n.d(t, 'b', function () {
                return o;
            });
            n.d(t, 'c', function () {
                return r;
            });
            n.d(t, 'a', function () {});
            var o = function () {
                this.$createElement;
                var e = (this._self._c, this.$tool.formatDate(this.info.created_at, 'MM-dd hh:mm'));
                if (!this.info.score && this.info.money) {
                    var t = this.$tool.formatPrice(this.info.money);
                } else {
                    var t = null;
                }
                this.setData(
                    Object.assign(
                        {},
                        {
                            $root: {
                                g0: e,
                                g1: t
                            }
                        }
                    )
                );
            };
            var r = [];
        },
        afd3: function (e, t, n) {},
        b04a: function (e, t, n) {
            'use strict';

            var o = n('afd3');
            n.n(o).a;
        },
        e297: function (e, t, n) {
            'use strict';

            var o = n('4ea4');
            Object.defineProperty(t, '__esModule', {
                value: true
            });
            t.default = void 0;
            var r = o(n('2eee'));
            var c = o(n('c973'));
            var a = {
                components: {},
                data: function () {
                    return {};
                },
                props: {
                    info: {
                        type: Object
                    }
                },
                computed: {
                    sku: function () {
                        return this.info.order_sku || {};
                    },
                    user: function () {
                        return this.info.order_user || {};
                    }
                },
                onLoad: function () {
                    return (0, c.default)(
                        r.default.mark(function e() {
                            return r.default.wrap(function (e) {
                                for (;;) {
                                    switch ((e.prev = e.next)) {
                                        case 0:
                                        case 'end':
                                            return e.stop();
                                    }
                                }
                            }, e);
                        })
                    )();
                },
                methods: {},
                filters: {}
            };
            t.default = a;
        },
        e4fc: function (e, t, n) {
            'use strict';

            n.r(t);
            var o = n('e297');
            var r = n.n(o);
            for (var c in o) {
                if (['default'].indexOf(c) < 0) {
                    (function (e) {
                        n.d(t, e, function () {
                            return o[e];
                        });
                    })(c);
                }
            }
            t.default = r.a;
        },
        ed8d: function (e, t, n) {
            'use strict';

            n.r(t);
            var o = n('512f');
            var r = n('e4fc');
            for (var c in r) {
                if (['default'].indexOf(c) < 0) {
                    (function (e) {
                        n.d(t, e, function () {
                            return r[e];
                        });
                    })(c);
                }
            }
            n('b04a');
            var a = n('f0c5');
            var i = Object(a.a)(r.default, o.b, o.c, false, null, '6e1b33b0', null, false, o.a, void 0);
            t.default = i.exports;
        }
    }
]);
(global.webpackJsonp = global.webpackJsonp || []).push([
    'pages/myInvitees/components/AgentRecordItem-create-component',
    {
        'pages/myInvitees/components/AgentRecordItem-create-component': function (e, t, n) {
            n('543d').createComponent(n('ed8d'));
        }
    },
    [['pages/myInvitees/components/AgentRecordItem-create-component']]
]);
</script>
<style>
@import './AgentRecordItem.css';
</style>
